package someClass;

public class Person{
    private String name;
    private int age;

    // Getter方法
    public String getName() {
        return name;
    }

    // Setter方法
    public void Setter(String name) {
        this.name = name;
    }

    // Getter
    public int getAge() {
        return age;
    }

    // Setter方法
    public void SetAge(int age) {
        this.age = age;
    }
}